package designMode.abstractFactoryPattern;

/**
 * @ClassName NYPizzaIngredientFactory
 * @Description
 * @Author LIBOFEI
 * @Date 2020/6/23 22:01
 * @Version 1.0
 **/
public class NYPizzaIngredientFactory implements PizzaIngredientFactory {

    @Override
    public Dough createDough() {
        System.out.println("放入调料Dough" );
        return new ThinCrustDouch();
    }

    @Override
    public Sauce createSauce() {
        System.out.println("放入调料Sauce" );
        return new MarinaraSauce();
    }
}
